using System;
using GConf;

namespace Paret
{	
	public class GconfParet
	{
		GConf.Client client;
		static string GCONF_PAPERS_PATH = "/desktop/gnome/background/";
		static string GCONF_PARETS_PATH = GCONF_PAPERS_PATH + "picture_filename";
		
		public GconfParet()
		{
			this.client = new GConf.Client();
			
		}
		
		public void updateGConf(string paper_path) 
		{
			this.client.Set(GCONF_PARETS_PATH,paper_path);
		}
	}
}
